package com.huanke.iot.base.dao.device.typeModel;

import com.huanke.iot.base.dao.BaseMapper;
import com.huanke.iot.base.po.device.model.DeviceModelFilePo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceModelFileMapper extends BaseMapper<DeviceModelFilePo> {


    List<DeviceModelFilePo> queryFileListByModelId(@Param("modelIds") List<Integer> modelIds);

    void batchDelete(@Param("configs") List<Integer> configIds);

    void deleteAll();

    void deleteFileByModelId(@Param("modelId") Integer modelId);
}
